/*
 * Message.h
 *
 *  Created on: Apr 23, 2013
 *      Author: travis
 *
 *	Message
 *
 *	Structure of functions mainly used for printing debug and information
 *	about errors. For activate debug use #define _DEBUG (best way to do
 *	so is set it up in IDE settings or project settings).
 *
 *	Sender is name of object or class type etc. which throwing this
 *	exception.
 *
 *	ErrType is simple ID of error defined in ErrorDef (included function
 *	for convert error ID to string message).
 *
 *	Msg is additional message, you can put more information about error
 *	when you throwing an exception.
 *
 *	Basic format of message is:
 *	  SENDER: MESSAGE
 */

#ifndef MESSAGE_H_
#define MESSAGE_H_

#include <string>
#include <iostream>
#include "ErrorDef.h"


using namespace std;

namespace Engine
{

void printDEBUG(std::string sender, std::string msg);
void printMSG(std::string sender, std::string msg);
void printERR(std::string sender, std::string msg, unsigned int errType);

} /* namespace Engine */
#endif /* MESSAGE_H_ */
